package org.net.httpclient.http
{
	import flash.utils.ByteArray;
	
	import org.net.httpclient.HttpRequest;
	import org.net.httpclient.HttpRequestObject;

	public class Post extends HttpRequest
	{
		
		public function Post(headData:ByteArray = null, contentData:ByteArray = null)
		{
			super("POST");
			var data:ByteArray = new ByteArray();
			if (headData) data.writeBytes(headData);
			if(contentData) data.writeBytes(contentData);
			
			data.compress();
			setByteArrayData(data);
		}
		
		
	}
}